package com.taikang.service;

import com.taikang.entity.Employee;
import com.taikang.entity.TaskRecord;
import com.taikang.util.page.Pagination;

import java.util.Date;

/**
 * Created by zhai on 16/5/10.
 */
public interface EmployeeService {

    Employee getEmployeeById(Integer employeeId);

    Employee employeeLogin(String username, String password);

    Object getSalaryByEmployeeId(Integer employeeId, Integer recordId, Integer page, Integer size);

    Object getTrainInfo(Integer agentId, Integer courseId, Integer page, Integer size);

    Object getTaskInfo(Integer employeeId, Integer taskId, Integer page, Integer size);

    Boolean enrollTrain(Integer employeeId, Integer courseId);

    void updateTask(TaskRecord record);
}
